package classes.mantenedores
{
	public class SujetoToXML
	{
		private var arrSuj:Vector.<Object>;
		
		public function SujetoToXML()
		{
			
		}
		
		public static function setXMLResp(arrSuj:Vector.<Object>):XML
		{
			var root:XML = new XML("<Root></Root>");	
			var suj:XML;
			for(var i:int = 0; i < arrSuj.length; i++)
			{
				suj = new XML("<p s=\"" + arrSuj[i]["ID_SUJETO"] + "\"></p>");
				root.appendChild(suj);
			}
			return root;
		}
	}
}